﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Repo7.BusinessLogic.Network.Cluster
{
    /// <summary>
    /// Local Repository Info
    /// </summary>
    public class RepoLocalInfo : RepoPeerInfo
    {
        #region Public Members

        public const string LocalNodeName = "local";

        /// <summary>
        /// Repository Folder Path
        /// </summary>
        public string RepoFolderPath { get; set; }

        #endregion

        #region Constructors

        /// <summary>
        /// Constructor
        /// </summary>
        public RepoLocalInfo() : base(LocalNodeName) { }

        public RepoLocalInfo(string repoFolderPath) : base(LocalNodeName)
        {
            RepoFolderPath = repoFolderPath;
        }

        #endregion
    }
}
